<?php TPL::output('global/header_landing.tpl.htm'); ?>

<div class="default_bd" id="default_bd">
<div class="default_account" id="default_account">
	<?php if (get_setting('sina_weibo_enabled') == 'Y' OR get_setting('qq_t_enabled') == 'Y') { ?>
	<div class="weibo_loginPort" id="weibo_loginPort">
		<h2>其他账号登录：</h2>
		<p class="weibo_ico">
			<?php if (get_setting('sina_weibo_enabled') == 'Y') { ?>
			<a href="account/openid/sina/" class="sina" title="新浪微博"><em class="i"></em>新浪微博</a>
			<?php } ?>
			
			<?php if (get_setting('qq_t_enabled') == 'Y') { ?>
			<a href="account/openid/qq/" class="tencent" title="腾讯微博"><em class="i"></em>腾讯微博</a>
			<?php } ?>
		</p>
	</div>
	<?php } ?>
	<p class="default_err hide" id="tip_login_message"></p>
	<form id="login_form" method="post" onsubmit="return false" action="account/ajax/login_process/">
	<input type="hidden" name="post_hash" value="<?php echo new_post_hash(); ?>" />
	<div class="default_JF">
	<ul id="userLogin" class="defa_login ulxForm">
		<li><input type="text" name="user_name" value="<?php echo $this->r_uname; ?>" class="usertxt" id="UserName" title="请输入你的邮箱..." tabIndex="1"/></li>
		<li id="ulx"><input type="password" name="password" value="" class="usertxt hide" id="PassWord" onkeydown="if (event.keyCode == 13) { document.getElementById('login_submit').click(); }" title="你的密码..."/></li>
		
	</ul>
	  <div class="de_subForm">
			<a onclick="$('#tip_login_message').hide(); ajax_post($('#login_form'), _tips_form_processer);" class="default_user_login default_blue_but" id="login_submit" href="javascript:;" title="登录">登录 </a>
			<p class="default_reg"><?php if (get_setting('invite_reg_only') == 'N') { ?><a href="account/register/" title="点击快速注册">注册</a> <?php } ?><?php if (get_setting('guest_explorer') == 'Y') { ?><a href="home/explore/guest" title="游客浏览">游客</a><?php } ?></p>
			<input type="checkbox" name="net_auto_login" value="1" id="checkBox" /><label for="checkBox">记住我</label>    
            &nbsp;&nbsp;&nbsp;&nbsp;<a href="account/find_password/" title="忘记密码？点击快速找回">忘记密码？</a>
      </div>
	  </div>
	</form>
</div>
</div>

<script type="text/javascript">(function(x){if(x.getElementById('weibo_loginPort')== null){x.getElementById('default_bd').className = 'default_bd defaultCur';}})(document)</script>

<?php TPL::output('global/footer.tpl.htm'); ?>